<template>
  <div>
    <h1>最近浏览页</h1>
    {{ lst }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      lst: [],
      userid: localStorage.getItem("userid"),
    };
  },
  methods: {
    getdata() {
      this.axios.get("/getliulan?userid=" + this.userid).then((res) => {
        console.log(res);
        this.lst = res.data.data;
      });
    },
  },
  mounted() {
    this.getdata()
  },
};
</script>

<style>
</style>